<?php echo $this->docType(); ?>
<html lang="pt-br">
<head>
	<?php
		echo $this->headTitle(); 
		echo $this->headMeta();
		echo $this->headLink();
	?> 
	
	<script type="text/javascript">
		var baseUrl = '<?php echo $this->baseUrl(); ?>';
	</script>
	
	<?php echo $this->headScript(); ?>
</head>
<body>
<!--[if lt IE 9]><div class="ie"><![endif]-->
<!--[if lt IE 8]><div class="ie7"><![endif]-->
	
	<header>
		<div class="container_12">
			<p id="skin-name">
				<small>&Aacute;rea<br> Administrativa</small> <strong><?php echo Zend_Registry::get('config')->geral->title; ?></strong>
			</p>
		</div>
	</header>
	
	<nav id="main-nav">
	    <?php echo $this->navigation()->menu()->setPartial('menu.phtml'); ?>
	</nav>
	
	<div id="sub-nav"></div>
	
	<div id="status-bar">
		<div class="container_12">
	
			<ul id="status-infos">
				<li>
					<span class="button">
						<img src="<?php echo $this->baseUrl('public/images/admin/icons/fugue/user-black.png'); ?>" height="16" width="16">
						<?php echo Zend_Auth::getInstance()->getIdentity()->user_nome; ?> 
					</span>
					<span class="button">
						<img src="<?php echo $this->baseUrl('public/images/admin/icons/fugue/computer.png'); ?>" height="16" width="16">
						<?php echo Zend_Auth::getInstance()->getIdentity()->user_iplogin; ?> 
					</span>
					<span class="button">
						<img src="<?php echo $this->baseUrl('public/images/admin/icons/fugue/alarm-clock-blue.png'); ?>" height="16" width="16">
						<?php echo $this->date(Zend_Auth::getInstance()->getIdentity()->user_dtlogin, 'dd/MM/yyyy HH:mm'); ?> 
					</span> 
				</li>
				<li><a href="<?php echo $this->baseUrl('admin/auth/logout'); ?>" class="button red" title="Sair"><span class="smaller">SAIR</span></a></li>
			</ul>
			
		    <ul id="breadcrumb">
				<li>
			    	<?php 
					    echo $this->navigation()
						    ->breadcrumbs()
						    ->setLinkLast(true)
						    ->setMinDepth(0)
						    ->setSeparator('</li><li>');
					?>
				</li>
		    </ul>
		 	
		</div>
	</div>
		
	<article class="container_12">
		<?php echo $this->layout()->content; ?>
		<div class="clear"></div>
	</article>
	
	<footer>
		<div class="float-right">
			<a href="#top" class="button">
				<img src="<?php echo $this->baseUrl('public/images/admin/icons/fugue/navigation-090.png'); ?>" width="16" height="16"> 
				Ir para o topo
			</a>
		</div>
	</footer>
	
<!--[if lt IE 8]></div><![endif]-->
<!--[if lt IE 9]></div><![endif]-->
</body>
</html>